import * as API from '@/api/index.js'

export function listRegion(query) {
  return API.REQUEST({
    url: '/api-shop/admin/region/list',
    method: 'get',
    params: query
  })
}

export function listSubRegion(query) {
  return API.REQUEST({
    url: '/api-shop/admin/region/clist',
    method: 'get',
    params: query
  })
}
